/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.auth.dao;

import com.xy.biz.auth.domain.po.UserPasswordPO;

/**
 * 
 * 
 * @author zsp
 * @date 2020-8-20
 */
public interface UserPasswordDao {
	
	/**
	 * 保存
	 *
	 * @param userPasswordPO
	 */
	int saveUserPassword(UserPasswordPO userPasswordPO);
	
	/**
	 * 更新
	 *
	 * @param userPasswordPO
	 */
	int updateUserPassword(UserPasswordPO userPasswordPO);
	
	/**
	 * 删除
	 *
	 * @param userPasswordId
	 */
	int deleteUserPassword(Long userPasswordId);
	
	/**
	 * 查找一个
	 *
	 * @param userPasswordId
	 * @return
	 */
	UserPasswordPO getUserPassword(Long userPasswordId);
	
}
